package com.example.bawolf.effctivejava.singleton;

/**
 * PrivateConstructor
 *
 * @author zhougf
 * @date 2020/03/21
 */
public class PrivateConstructor {
    public static String gethello(){
        return "hello";
    }
    private PrivateConstructor() throws Exception {
        throw new Exception();
    }
}
